package com.libraryManage.vo;

import com.libraryManage.commons.utils.PagingEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author:ZhangQing
 * @Date:2020/11/4
 */
@Data
@ApiModel(description = "借阅管理vo")
public class BorrowVo extends PagingEntity {

    @ApiModelProperty(value = "学生id")
    private int id;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "书名")
    private String bookName;

    @ApiModelProperty(value = "借出日期")
    private Date startTime;

    @ApiModelProperty(value = "最迟归还时间")
    private Date endTime;

    @ApiModelProperty(value = "实际归还日期")
    private Date returnTime;

    @ApiModelProperty(value = "所在学院")
    private String college;

    @ApiModelProperty(value = "所在年级")
    private String grade;

    @ApiModelProperty(value = "所属专业")
    private String specialized;

    @ApiModelProperty(value = "所在班级")
    private int classNum;

    @ApiModelProperty(value = "还书状态：0:未还书，1:按时还书，1:超时还书")
    private Integer timeState;

//    @ApiModelProperty(value = "借阅状态 0：未归还，1：按时归还，2：超时归还，3：超时未归还")
//    private Integer state;

    private static final long serialVersionUID = 1L;

}
